package com.flute.framework.search;

import java.io.IOException;

import org.apache.lucene.index.Term;
import org.apache.lucene.search.Searcher;
import org.apache.lucene.search.TermQuery;
import org.apache.lucene.search.Weight;

public class FluteTermQuery extends TermQuery {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7854558377326789598L;

	public FluteTermQuery(Term t) {
		super(t);
	}

	@Override
	public Weight createWeight(Searcher searcher) throws IOException {
		return new LayerWeight(this);
	}
}
